package unique;

//import backup.*;

public class TestMain {

    public static void main (String[] args) {
        FileHandler zeratul = new FileHandler("zarchive.txt");
        
        Model kerrigan = new Model();
        kerrigan.setId(0000);
        kerrigan.setName("Kerrigan");
        kerrigan.setSet("Dark");
        kerrigan.setConvMana(6);
        kerrigan.setPower(6);
        kerrigan.setTough(7);
        kerrigan.setRarity("Legendary");
        kerrigan.setFlavor("By your will, Father, I live to serve. Let all those who oppose the Overmind feel the wrath of the swarm.");
        kerrigan.setMana("3BBB");
        kerrigan.setType("puta");
        kerrigan.setAmmount(1);
        
        zeratul.addCard(kerrigan.toString());
        zeratul.testPrint();
        System.out.println("*******************************");
        
        kerrigan.setId(0001);
        kerrigan.setName("Jim Raynor");
        kerrigan.setSet("Dark");
        kerrigan.setConvMana(6);
        kerrigan.setPower(10);
        kerrigan.setTough(3);
        kerrigan.setRarity("Legendary");
        kerrigan.setFlavor("The name's Jim Raynor, pal. And I won't be talked down to by anybody. Not even a Protoss.");
        kerrigan.setMana("3WWU");
        kerrigan.setType("puto");
        kerrigan.setAmmount(1);
        
        zeratul.addCard(kerrigan.toString());
        zeratul.testPrint();
        System.out.println("*******************************");
        
        zeratul.removeCardById(0000);
        zeratul.testPrint();

    }
}
